package com.ssm.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class Order implements Serializable{
    private String orderNO;
    private String customerNO;
    private String productNO;
    private Date orderTime;
    private int quantity;
    private BigDecimal quoteprice;
    private String otherInfo;
    private Short status;

    private Customer customer;
    private Product product;

    public String getOrderNO() {
        return orderNO;
    }

    public void setOrderNO(String orderNO) {
        this.orderNO = orderNO;
    }

    public String getCustomerNO() {
        return customerNO;
    }

    public void setCustomerNO(String customerNO) {
        this.customerNO = customerNO;
    }

    public String getProductNO() {
        return productNO;
    }

    public void setProductNO(String productNO) {
        this.productNO = productNO;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getOtherInfo() {
        return otherInfo;
    }

    public void setOtherInfo(String otherInfo) {
        this.otherInfo = otherInfo;
    }

    public BigDecimal getQuoteprice() {
        return quoteprice;
    }

    public void setQuoteprice(BigDecimal quoteprice) {
        this.quoteprice = quoteprice;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    @java.lang.Override
    public java.lang.String toString() {
        return "Order{" +
                "orderNO='" + orderNO + '\'' +
                ", customerNO='" + customerNO + '\'' +
                ", productNO='" + productNO + '\'' +
                ", orderTime=" + orderTime +
                ", quantity=" + quantity +
                ", otherInfo='" + otherInfo + '\'' +

                '}';
    }
}